<%@ page import="cn.ml.web3.dao.StudentDao" %>
<%@ page import="cn.ml.web3.entity.Student" %>
<%@ page import="cn.ml.web3.dao.StudentDaoImpl" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%
    int id = Integer.parseInt(request.getParameter("id"));
    StudentDao dao = new StudentDaoImpl();
    Student student = dao.get(id);
    request.setAttribute("student",student);
    request.getRequestDispatcher("showstudent.jsp").forward(request,response);
%>